package com.xtx.service;

import com.xtx.dto.AddShoppingCartDTO;
import com.xtx.entity.ShoppingCart;
import com.xtx.vo.ShoppingCartVO;

import java.util.List;

public interface ShoppingService {
    void addShoppingCart(AddShoppingCartDTO addShoppingCartDTO);

    List<ShoppingCartVO> getShoppingCartList(Integer id);

    void deleteShoppingCart(Integer id);

    void updataShoppingCart(ShoppingCart shoppingCart);

    void checkAll(Integer userId, ShoppingCart selected);
}
